package com.zhangpf.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.transaction.jta.JtaAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import tk.mybatis.spring.annotation.MapperScan;


//@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
@MapperScan("com.zhangpf.boot.dao.mapper")
@SpringBootApplication(exclude = JtaAutoConfiguration.class)
@EnableTransactionManagement(proxyTargetClass = true)   //开启事物管理功能
public class BootSeedApplication {

    public static void main(String[] args) {
        SpringApplication.run(BootSeedApplication.class, args);
    }



}
